﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Conditions.aspx.cs" Inherits="Operate_Conditions" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>DQS系统|自助查询|条件设置</title>
    <script type="text/javascript" src="../JavaScript/JQuery/jquery-1.6.2.min.js"></script>
    <script type="text/javascript" src="../JavaScript/JQuery/external/jquery.bgiframe-2.1.2.js"></script>
    <script type="text/javascript" src="../JavaScript/JQuery/jquery-ui-1.8.16.custom.min.js"></script>  
    <link rel="Stylesheet" href="../CSS/redmond/jquery-ui-1.8.16.custom.css" type="text/css" />
    <script type="text/javascript" src="../JavaScript/My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript" src="../JavaScript/Conditions.js"></script>
    <link rel="stylesheet" href="../CSS/Conditions.css" />
</head>
<body>
    <form id="form1" runat="server">           
    <div id="conditionDiv" class="ui-corner-all">
        <p>
            <label for="ServiceIdImport" class="lTitle">服务号码：</label>
            <asp:FileUpload ID="ServiceIdImport" runat="server" ToolTip="导入只包含服务号码的TXT文件" CssClass="ui-widget-content" />            
            <asp:Button ID="UploadFile" runat="server" Text="上传" OnClick="UploadFile_Click" />                
            <a href="#" id="openView">如何导入服务号码文件？</a><br />
            <span><asp:RegularExpressionValidator ID="ValidatorTXTForServiceID" runat="server" ControlToValidate="ServiceIdImport" Display="Dynamic" ErrorMessage="只能上传TXT格式文件!" ValidationExpression="^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w].*))+(.txt|.TXT)$"></asp:RegularExpressionValidator></span></p>
        <p>
            <asp:CheckBox ID="City_Code" runat="server" Text="延安" Enabled="false" Checked="true"/>
            <asp:CheckBox ID="Service_Kind" runat="server" Text="GSM业务" Enabled="false" Checked="true" />
            <asp:CheckBox ID="If_Valid" runat="server" Text="在网用户" Enabled="false" Checked="true" />              
            <asp:RadioButtonList ID="If_3G" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow" CellSpacing="5" CellPadding="5">
                <asp:ListItem Text="3G" Value="是"></asp:ListItem>
                <asp:ListItem Text="2G" Value="否"></asp:ListItem>
            </asp:RadioButtonList>   
        </p>
        <p>
            <asp:CheckBox ID="IF_ThisMonth" runat="server" Text="入网当月套餐" />
            <asp:CheckBox ID="IF_OutProd" runat="server" Text="套外套餐"/>
            <asp:CheckBox ID="IF_RentUser" runat="server" Text="终端合约用户" />
            <asp:CheckBox ID="IF_IPhone" runat="server" Text="IPHONE用户"/>
        </p>
        <p>
            <label for="Begin_Date" class="lTitle">申请开通日期：</label><asp:TextBox ID="Begin_Date" runat="server" CssClass="Wdate text ui-widget-content" AutoCompleteType="Disabled"></asp:TextBox>
            <label id="lendDate" for="End_Date">至</label><asp:TextBox ID="End_Date" runat="server" CssClass="Wdate text ui-widget-content" AutoCompleteType="Disabled"></asp:TextBox></p>        
        <p>
            <label for="FBList" class="lTitle">所属分部：</label>
            <asp:DropDownList ID="FBList" runat="server">
            </asp:DropDownList>            
            <select id="OrgaList" runat="server"></select>
            <input id="HidOrga" type="hidden" runat="server" />
            <label id="secondL" for="SumPayFee" class="lTitle">累计缴费预存：</label>
            <asp:DropDownList ID="SumPayFee" runat="server">
                <asp:ListItem Selected="True" Text="" Value=""></asp:ListItem>
                <asp:ListItem Text="等于零" Value="=0"></asp:ListItem>
                <asp:ListItem Text="大于零" Value=">0"></asp:ListItem>
            </asp:DropDownList>
        </p>            
    </div>
    <div id="ActionPanel" style="text-align:right;">
            <asp:Button ID="SaveCondition" runat="server" Text="下一步>>>" OnClick="SaveCondition_Click"/>
    </div>
    <div id="dialog" title="提示" style="display:none;">
        <img src="../Images/icons/fam/loading_icon.gif" alt="正在查询中..." />
        <span id="tip">正在查询中...</span>
    </div>    
    <div id="txtDiv" style="display:none;" title="导入服务号码文件示例" >
        <iframe id="ViewFrame" name="ViewFrame" width="100%" frameborder="0" scrolling="yes" height="420"></iframe>
    </div>
    </form>
</body>
</html>
